﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Star.Tools.Test.Samples
{
    public class Person
    {

        public string Id { get; set; }

        public string Name { get; set; }

     
        public DateTime? birthday { get; set; }
        public int Gender { get; set; }

        public bool IsDisable { get; set; }


        public static Person Create()
        {
           
            return new Person()
            {
                Id = "10",
                Name = "哇",
                birthday = Convert.ToDateTime("2020-1-2"),
                Gender = 1,
                IsDisable = true,
             
            };
        }

    }
    public enum sex
    {
        
        [Description("男")]
        nan = 1,

        [Description("女")]
        nv = 2,

        none


    }
}
